#!/bin/bash
run()
{
	WGET_CHECK="wget --spider --connect-timeout=5 --timeout=10 --tries=3 --retry-connrefused"
	silesia=https://ostester.oss-cn-hangzhou.aliyuncs.com/benchmarks/silesia.tar
	logger	wget --timeout=180 --tries=3 $silesia
	eval $WGET_CHECK $silesia && wget $silesia -O $TONE_BM_RUN_DIR/silesia || return
	test_file=$TONE_BM_RUN_DIR/silesia
	logger $TONE_BM_RUN_DIR/lzbench -v -o4 -e$Algo $test_file
}

parse()
{
	"$TONE_BM_SUITE_DIR"/parse.awk
}

